﻿using System;
using System.Activities;
using System.ComponentModel;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using TransactionServer.General_Classes;
using Microsoft.VisualBasic.Activities;

namespace TransactionServer.ActivityDesign
{
    // Interaction logic for SelectEntity.xaml
    public partial class SelectEntity
    {
        public SelectEntity()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, RoutedEventArgs e)
        {
            string str = "blablanla";
            InArgument<Filter> filter = new InArgument<Filter>(new VisualBasicValue<Filter>(str));
            //((InArgument<String>)this.ModelItem.Properties["Entity"].Value.GetCurrentValue()).Expression.ToString()
            object obj = (VisualBasicValue<Context>)((InArgument<Context>)this.ModelItem.Properties["Context"].Value.GetCurrentValue()).Expression;
            
        }
    }
}
